package com.ht.mt.sric.entity;

import java.io.Serializable;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@NamedQueries({ @NamedQuery(name = "Usuario.findAll", query = "select o from Usuario o") })
@Table(name = "USUARIO")
public class Usuario implements Serializable {
    private static final long serialVersionUID = -4731162566062521966L;
    
    @Id
    @SequenceGenerator(name = "SQ_USUARIO", sequenceName = "SQ_USUARIO", allocationSize = 1)
    @GeneratedValue(generator = "SQ_USUARIO")
     @Column(name = "ID_USUA", nullable = false)
    private Integer idUsua;
    @Column(name = "APLLD_USUA", length = 50)
    private String aplldUsua;
    @Column(name = "CLV_USUA", length = 50)
    private String clvUsua;
    @Column(name = "ID_PRFL")
    private Integer idPrfl;
    
    @Column(name = "NICK_USUA", length = 20)
    private String nickUsua;
    @Column(name = "NMBR_USUA", length = 50)
    private String nmbrUsua;

    public Usuario() {
    }

    public Usuario(String aplldUsua, String clvUsua, Integer idPrfl, Integer idUsua, String nickUsua,
                   String nmbrUsua) {
        this.aplldUsua = aplldUsua;
        this.clvUsua = clvUsua;
        this.idPrfl = idPrfl;
        this.idUsua = idUsua;
        this.nickUsua = nickUsua;
        this.nmbrUsua = nmbrUsua;
    }

    public String getAplldUsua() {
        return aplldUsua;
    }

    public void setAplldUsua(String aplldUsua) {
        this.aplldUsua = aplldUsua;
    }

    public String getClvUsua() {
        return clvUsua;
    }

    public void setClvUsua(String clvUsua) {
        this.clvUsua = clvUsua;
    }

    public Integer getIdPrfl() {
        return idPrfl;
    }

    public void setIdPrfl(Integer idPrfl) {
        this.idPrfl = idPrfl;
    }

    public Integer getIdUsua() {
        return idUsua;
    }

    public void setIdUsua(Integer idUsua) {
        this.idUsua = idUsua;
    }

    public String getNickUsua() {
        return nickUsua;
    }

    public void setNickUsua(String nickUsua) {
        this.nickUsua = nickUsua;
    }

    public String getNmbrUsua() {
        return nmbrUsua;
    }

    public void setNmbrUsua(String nmbrUsua) {
        this.nmbrUsua = nmbrUsua;
    }
}
